package cn.chenlh.fx.component;

import javafx.scene.control.TextField;

public class IText extends TextField {

    public IText() {
        this("");
    }

    public IText(String txt) {
        super(txt);
        setEditable(false);
        setStyle("-fx-background-radius: 0;-fx-padding: 5;-fx-background-color: transparent;");
    }
}
